<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
		<STYLE type="text/css">
			*,td{font-size: 12px;
			body{padding:10px;}
		</STYLE>
		<script>
			function closeWindos() {
				window.close();
			}
			window.onload=function(){
				var p = window.dialogArguments;
				document.getElementById("mc").src="<%=basePath%>/resources/disasterUpload/"+p.mc;
				document.getElementById("mc_src").innerHTML="<a href='resources/disasterUpload/"+p.mc+"'>"+p.mc+"</a>";
			}
		</script>
	</head>
		<body style="background-color: #D9E6F0;">
		<CENTER>
			<bgsound id="mc" loop="3">
			<table border="0" cellspacing="0" cellpadding="5" width="70%">
			  <tr>
			    <td>声音名称:</td>
					<td id="mc_src">
						&nbsp;
					</td>
				</tr>
			  <tr>
			    <td colspan="2"><img alt="mod.mp3" src="<%=basePath%>/login/img/load.gif" height="12px"/></td>
			  </tr>
			  <tr>
			    <td colspan="2" align="center"><input type="button" onclick="closeWindos();" value="关闭本窗口" /></td>
			  </tr>
			</table>
			</CENTER>
		</body>
</html>